package com.vip.jwt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 将Vue打包好的项目放在resources/static文件夹中时使用
 */
@Controller
@RequestMapping("/")
public class IndexController {

    @GetMapping("/index")
    public String index(){
        return "index.html";
    }

}
